module.exports = {
  publicPath: "./",
  devServer: {
    open: true,
    host: "",
    port: "8080",
    https: false,
    hotOnly: false,
    proxy: {
      "/api": {
        ws: true,
        changeOrigin: true,
        //target: "http://10.10.0.164:9012",
        target: process.env.VUE_APP_BASE_URL,
        //target: "http://localhost:8080/admin",
        pathRewrite: {
          "^/api": process.env.VUE_APP_BASE_URL // rewrite path
        }
      }
    },
    before: app => {}
  }
};
